{% extends "base.html" %}
{% block title %}ChangePass{% endblock %}
{% block content %}
<!--atsystem-->
                <!--/span-->
                <div class="span9" id="content">
                      <!-- morris stacked chart -->

                     <!-- validation -->
                    <div class="row-fluid">
                         <!-- block -->
                        <div class="block">
                            <div class="navbar navbar-inner block-header">
                                <div class="muted pull-left">Change Password</div>
                            </div>
			{% if changesuccess %}
        		<div class="alert alert-success">
            		<button type="button" class="close" data-dismiss="alert">×</button>
            			<h4>Success!</h4>Password change success!!
        		</div>
    			{% endif %}
			{% if changefailed %}
        		<div class="alert alert-error">
            		<button type="button" class="close" data-dismiss="alert">×</button>
            			<h4>Error!</h4>Password change failed!!!
        		</div>
    			{% endif %}
			{% if notmatch %}
        		<div class="alert alert-error">
            		<button type="button" class="close" data-dismiss="alert">×</button>
            			<h4>Error!</h4>Two  Password not match!!!
        		</div>
    			{% endif %}
                            <div class="block-content collapse in">
                                <div class="span12">
					<!-- BEGIN FORM-->
					<form  class="form-horizontal" method="post">
					{% csrf_token %}
						{{cf.as_p}}
  						<button type="submit"  class="btn btn-primary"  >submit</button>
  						<button type="button" class="btn">Cancel</button>
						</fieldset>
					</form>
					<!-- END FORM-->
				</div>
			    </div>
			</div>
                     	<!-- /block -->
		    </div>
                     <!-- /validation -->


                </div>
            </div>
{% endblock %}
